function [ output_args ] = plotResult( domain2D, rx, ry, u, b )
%PLOTRESULT Summary of this function goes here
%   Detailed explanation goes here

global tri;

n = size(domain2D.x, 2);

px = [domain2D.x'; rx];
py = [domain2D.y'; ry];
c = [b; u];

figure;

tri = delaunay(px, py);

trisurf(tri, px, py, c, c, 'edgecolor', 'k', 'facecolor', 'interp')

view(2);

axis ( [ -1, 1, -1, 1] );
% caxis( [ 0.85, 1.15] );
axis square;

colorbar;

end

